package com.crx.springbootinit.model.dto.comment;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="CommentDto对象", description="新增评论请求")
public class CommentDto {

    @ApiModelProperty(value = "评论等级")
    private String commentLevel;

    @ApiModelProperty(value = "评论内容")
    private String content;

    @ApiModelProperty(value = "关联的帖子Id")
    private Long postId;

    @ApiModelProperty(value = "父评论id")
    private Long parentId;

    @ApiModelProperty(value = "顶级评论id")
    private Long rootCommentId;
}
